package com.filyar.htyd.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author filyar
 * @since 2024-10-25
 * @e-mail root@filyar.com
 */
@Getter
@Setter
@TableName("compare_task")
public class CompareTask implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 批次号
     */
    private String serialNumber;

    /**
     * 运算进度
     */
    private Integer executionProgress;

    /**
     * 运算状态
     */
    private Integer executionStatus;

    /**
     * 开始运算时间
     */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date executionCreateTime;

    /**
     * 结束运算时间时间
     */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date executionEndTime;

    /**
     * 运算耗时
     */
    private Long executionTime;

    /**
     * 操作人
     */
    private String operatorName;

    /**
     * 数据库保存开始时间
     */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date saveStartTime;

    /**
     * 数据库保存结束时间
     */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date savaEndTime;

    /**
     * 数据库保存耗时
     */
    private Long saveTime;

    /**
     * 保存状态
     */
    private Integer saveStatus;

    private int saveProgress;


}
